package main

import (
	"fmt"
	"go-python/gorpc/stup"
)

func main() {
	// client, _ := rpc.Dial("tcp", "localhost:1234")
	// // var reply *string = new(string)
	// var reply string
	// _ = client.Call(handler.HelloServiceName+".Hello", "erge", &reply)
	// fmt.Println(reply)
	client := stup.NewHelloServiceClient("tcp", "localhost:1234")
	var reply string
	client.Hello("erge", &reply)
	fmt.Println(reply)
}
